package com.xbxkj.commen.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xbxkj.commen.bean.Dictionaries;
import com.xbxkj.commen.bean.TreeModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 字典表 Mapper 接口
 * </p>
 *
 * @author 张子艺
 * @since 2019-08-19
 */
public interface DictionariesMapper extends BaseMapper<Dictionaries> {
    List<TreeModel> treeData(@Param("param") Dictionaries dictionaries);
    List<Dictionaries> findDicByParentValue(@Param("param") String parentValue);
}
